<?php
/**
 * Created by PhpStorm.
 * User: dust2
 * Date: 15-1-2
 * Time: 下午2:41
 */

/**
 * 订单状态播种
 * Class OrderStatusSeeder
 */
class OrderStatusTableSeeder extends Seeder
{
    public function run()
    {
        DB::table('orderStatus')->delete();

        DB::table('orderStatus')->insert(['name' => 'submitted', 'label' => '已提交']);
        DB::table('orderStatus')->insert(['name' => 'delivered', 'label' => '已发货']);
        DB::table('orderStatus')->insert(['name' => 'received', 'label' => '已收货']);

    }
}